package com.yunban.project.message.service;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import java.util.Map;

/**
 * @author: lijiajun
 * @date: 2025-04-02
 * @version: 1.0
 */
public interface WeChatService {
    void loginByWechat(String callback, HttpServletResponse response);

    String generateWechatRedirectUrl(String callback, String url);

    void weChatCallback(HttpServletRequest request, HttpServletResponse response);

    Map<String, String> validSignature(HttpServletRequest request);
}